<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org" lang="en">
<head>
  <meta charset="UTF-8">
  <title>错误页面</title>
  <style>
    body {
      font-family: Arial, sans-serif;
      color: #333;
      background-color: #f8f8f8;
      text-align: center;
      padding-top: 50px;
    }
    .error-container {
      background-color: #fff;
      border: 1px solid #ddd;
      padding: 20px;
      display: inline-block;
      box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    }
    h1 {
      color: #d9534f;
    }
  </style>
</head>
<body>
  <div class="error-container">
    <h1 th:text="${errorCode}">错误代码</h1>
    <p th:text="${errorMessage}">错误信息</p>
    <a href="/" th:href="@{/}">返回首页</a>
  </div>
</body>
</html>
